package com.ruoyi.yqhs.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警报警对象 yqhs_yjbj
 *
 * @author ruoyi
 * @date 2025-08-31
 */
public class YqhsYjbj extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 加油站ID
     */
    private Long jyzId;
    @Excel(name = "加油站ID")
    private String jyzmc;

    /**
     * 设备ID
     */
    private Long sbId;
    @Excel(name = "设备")
    private String sbmc;
    /**
     * 预报警时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ybjsj;

    /**
     * 预报警类型
     */
    @Excel(name = "预报警类型")
    private String ybjlx;

    /**
     * 预报警级别
     */
    @Excel(name = "预报警级别")
    private String ybjjb;

    /**
     * 预报警内容
     */
    @Excel(name = "预报警内容")
    private String ybjnr;

    /**
     * 处理时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clsj;

    /**
     * 处理内容
     */
    @Excel(name = "处理内容")
    private String clnr;

    /**
     * 处理人
     */
    @Excel(name = "处理人")
    private String clr;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String rekark;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setJyzId(Long jyzId) {
        this.jyzId = jyzId;
    }

    public Long getJyzId() {
        return jyzId;
    }

    public String getJyzmc() {
        return jyzmc;
    }

    public void setJyzmc(String jyzmc) {
        this.jyzmc = jyzmc;
    }

    public String getSbmc() {
        return sbmc;
    }

    public void setSbmc(String sbmc) {
        this.sbmc = sbmc;
    }

    public void setSbId(Long sbId) {
        this.sbId = sbId;
    }

    public Long getSbId() {
        return sbId;
    }

    public void setYbjsj(Date ybjsj) {
        this.ybjsj = ybjsj;
    }

    public Date getYbjsj() {
        return ybjsj;
    }

    public void setYbjlx(String ybjlx) {
        this.ybjlx = ybjlx;
    }

    public String getYbjlx() {
        return ybjlx;
    }

    public void setYbjjb(String ybjjb) {
        this.ybjjb = ybjjb;
    }

    public String getYbjjb() {
        return ybjjb;
    }

    public void setYbjnr(String ybjnr) {
        this.ybjnr = ybjnr;
    }

    public String getYbjnr() {
        return ybjnr;
    }

    public void setClsj(Date clsj) {
        this.clsj = clsj;
    }

    public Date getClsj() {
        return clsj;
    }

    public void setClnr(String clnr) {
        this.clnr = clnr;
    }

    public String getClnr() {
        return clnr;
    }

    public void setClr(String clr) {
        this.clr = clr;
    }

    public String getClr() {
        return clr;
    }

    public void setRekark(String rekark) {
        this.rekark = rekark;
    }

    public String getRekark() {
        return rekark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("jyzId", getJyzId())
                .append("sbId", getSbId())
                .append("ybjsj", getYbjsj())
                .append("ybjlx", getYbjlx())
                .append("ybjjb", getYbjjb())
                .append("ybjnr", getYbjnr())
                .append("clsj", getClsj())
                .append("clnr", getClnr())
                .append("clr", getClr())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("rekark", getRekark())
                .toString();
    }
}
